package com.airclick.merchant.utils;

/**
 * Create by hackbomb on 2020/7/28 4:12 PM
 * @author caiwangjue
 */
public class Constants {

    public static final String SUCCESS = "0000";

    public static final String SUCCESS_MSG = "成功";

    public static final String ERROR = "F9999";

    public static final String ERROR_NO_EXIST = "F9995";

    public static final String ERROR_MSG = "失败";

    public static final String LSSUCCESS = "0";

    public static final String SUCCESS_CODE = "SUCCESS";

    public static final String FAIL_CODE = "FAIL";

    public static final String ERROR_NO_EXIST_MSG = "不存在";

    public static final String ACCOUNT_NUMBER_ERROR_NO_EXIST_MSG = "账号不存在";

    public static final String ERROR_EXIST_MSG = "已存在";

    public static final String ERROR_NULL_MSG = "不能为空";

    public static final String GMTCREATE = "gmtCreate";

    public static final String DATEFORMAT = "yyyy-MM-dd HH:mm:ss";

    public static final String ODATEFORMAT = "yyyy-MM-dd";

    public static final String ERROR_NO_DATA_MSG = "没有数据";

    public static final String ERROR_JSONARRAY_FORMAT_MSG = "不是JSON数组格式";

    public static final String THE_OLD_PASSWORD_IS_INCORRECT = "原密码不正确";

    public static final int NORMAL = 1;

    public static final String NONE = "无";

    /**
     * 降序
     */
    public static final String DESC = "DESC";

    /**
     * 升序
     */
    public static final String ASC = "ASC";

    public static final String ADMIN = "admin";

    public static final String WECHAT = "weChat";


    /**
     * sort
     */
    public static final String SORT = "sort";

    public static final String ID = "id";

    public static final String FAIL_MSG = "失败";

    public static final String DEAL_SUCCESS_MSG = "处理成功";

    public static final String DEAL_ERROR_MSG = "处理异常";

    public static final String NULL_DATA = "暂无数据";

    public static final String GET_SUCCESS_MSG = "获取成功";

    public static final String GET_ERROR_MSG = "获取失败";

    public static final String NOT_NULL_MSG = "不能为空";

    public static final String OSS_CONFIG_NULL = "请联系管理员配置阿里云存储信息";


    /**
     * 队列
     */
    public static final String LOG_QUEUE = "logQueue";

    /**
     * 生成osscode 开头
     */
    public static final String OSS_SOURCE_CODE = "oss";

    public static final String account_not_chinese = "帐号只能输入英文大小写和数字，且不能有空格！";

    public static final String account_length_long = "帐号长度不能超过32个字！";

    public static final String REPEAT = "账号不能重复，已存在！";

    public static final String REPEAT_PHONE = "手机号不能重复，已存在！";

    public static final String ACCOUNTS_DISABLED = "账号已被禁用！";

    public static final String ROLE_USED = "该角色正在使用中！";

    public static final String ROLE_NAME_USED = "该角色名称已被使用！";

    public static final String USER_BAN = "账号不存在或被禁用！";

    public static final String LOGIN_FAIL = "账号或密码错误！";

    public static final String PARENT_MENU_NULL = "父级菜单不存在！";

    public static final String DOUBLE_MENU_NAME = "菜单名称不能重复！";

    public static final String ADMIN_USED = "不能使用该登录名！";

    private Constants() {
    }
}
